package model.contract;

import java.sql.Timestamp;

/**
 * Loaninterestrecord entity. @author MyEclipse Persistence Tools
 */

public class Loaninterestrecord implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer loaninterestid;
	private Integer loanid;
	private Integer contractid;
	private Timestamp begaindate;
	private Timestamp lastdate;
	private Double grantmoney;
	private Timestamp printdate;
	private Timestamp confirmdate;
	private Integer state;
	private Long userid;

	// Constructors

	/** default constructor */
	public Loaninterestrecord() {
	}

	/** full constructor */
	public Loaninterestrecord(Integer loaninterestid, Integer loanid,
			Integer contractid, Timestamp begaindate, Timestamp lastdate,
			Double grantmoney, Timestamp printdate, Timestamp confirmdate,
			Integer state,Long userid) {
		this.loaninterestid = loaninterestid;
		this.loanid = loanid;
		this.contractid = contractid;
		this.begaindate = begaindate;
		this.lastdate = lastdate;
		this.grantmoney = grantmoney;
		this.printdate = printdate;
		this.confirmdate = confirmdate;
		this.state = state;
		this.userid=userid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getLoaninterestid() {
		return this.loaninterestid;
	}

	public void setLoaninterestid(Integer loaninterestid) {
		this.loaninterestid = loaninterestid;
	}

	public Integer getLoanid() {
		return this.loanid;
	}

	public void setLoanid(Integer loanid) {
		this.loanid = loanid;
	}

	public Integer getContractid() {
		return this.contractid;
	}

	public void setContractid(Integer contractid) {
		this.contractid = contractid;
	}

	public Timestamp getBegaindate() {
		return this.begaindate;
	}

	public void setBegaindate(Timestamp begaindate) {
		this.begaindate = begaindate;
	}

	public Timestamp getLastdate() {
		return this.lastdate;
	}

	public void setLastdate(Timestamp lastdate) {
		this.lastdate = lastdate;
	}

	public Double getGrantmoney() {
		return this.grantmoney;
	}

	public void setGrantmoney(Double grantmoney) {
		this.grantmoney = grantmoney;
	}

	public Timestamp getPrintdate() {
		return this.printdate;
	}

	public void setPrintdate(Timestamp printdate) {
		this.printdate = printdate;
	}

	public Timestamp getConfirmdate() {
		return this.confirmdate;
	}

	public void setConfirmdate(Timestamp confirmdate) {
		this.confirmdate = confirmdate;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

}